package org.dream.util;

import java.io.File;

public class FileUtil {
	public static File[] getFiles(String filePath) {
		File file = new File(filePath);
		File[] files = { file };
		if (new File(filePath).isDirectory()) {
			files = file.listFiles();
		}
		return files;
	}

}
